/* Color Blue */
$metaBlue01: #1F86ED; //$dodger-blue
$metaBlue02: #0098FF; //$dodger-blue-light
$metaBlue03: #F4F8FD; //$dodger-blue-lighter
/* Color Gray */
$metaGray01: #333333; //$gray-{X}
$metaGray02: #666666;
$metaGray03: #999999;
$metaGray04: #aaaaaa;
$metaGray05: #dddddd;
/* Font Size */
$fontSizeXXL: 40px;
$fontSizeXL: 32px;
$fontSizeL: 24px;
$fontSizeM: 18px;
$fontSizeS: 16px;
$fontSizeXS: 14px;
$fontSizeXXS: 12px;
/* Header */
h1 {
    font-size: $fontSizeXXL;
}

h2 {
    font-size: $fontSizeXL;
}

h3 {
    font-size: $fontSizeL;
}

h4 {
    font-size: $fontSizeM;
}

h5 {
    font-size: $fontSizeXS;
}

h6 {
    font-size: $fontSizeXXS;
}

hr {
    border-top-color: $metaGray05;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Responsive Line */
$metaResponsiveLine01: 1279px; //=lg=(md-max)+1
//$screen-lg=($screen-md-max)+1
$metaResponsiveLine02: 767px; //=sm=(xs-max)+1
/* Carousel (in carousel scss)*/
$carouselHeight: 500px;
$carouselFilterWidth01: 350px;
$carouselFilterWidth02: 170px;
/* Common Style: Normal */
a:hover {
    text-decoration: none;
    cursor: pointer;
}

.meta-no-wrap {
    padding: 0px;
    margin: 0px;
}

.meta-no-padding {
    padding: 0px;
}

.meta-no-margin {
    margin: 0px;
}

.clear-float { //clearfix
    width: 0px !important;
    height: 0px !important;
    float: none !important;
    clear: both !important;
}

.meta-tab {
    background-color: $dodger-blue-lighter;
    padding: 10px 20px;
    font-size: $fontSizeXS;
    border-radius: 5px;
    margin: 0 5px;
    img {
        margin-right: 3px;
    }
}

.meta-tab-sm {
    padding: 5px 10px;
    color: $gray-6;
}

/* Common Style: Block */
.meta-container {
    max-width: 1200px;
    width: 100%;
}

.meta-container-60 {
    margin: 0 auto 60px;
    padding-top: 60px;
}

.meta-container-60-50 {
    margin: 0 auto 60px;
    padding: 60px 50px 0;
}

.meta-container-40 {
    margin: 0 auto 40px;
    padding-top: 30px;
}

.meta-form-container {
    //margin: 40px 0px 40px 100px;
}

.meta-container-30 {
    margin: 0 auto 30px;
    padding-top: 30px;
}

/* Common Style: Button */
.btn-meta-14 { //btn-sm
    font-size: $fontSizeXS;
    padding: 10px 28px;
}

.btn-meta-16 { //btn-lg
    font-size: $fontSizeS;
    padding: 10px 32px;
}

.btn-meta-blue { //btn-default
    color: white;
    background-color: $metaBlue01;
    border: 1px solid $metaBlue01;

    &:hover {
        background-color: $metaBlue02;
    }

    &:active {
        background-color: $metaBlue01;
    }

    &:focus {
        background-color: $metaBlue01;
    }

    &:active:active {
        background-color: $metaBlue01;
    }
}

.btn-meta-blue-reverse { //btn-primary
    color: $metaBlue01;
    background-color: transparent;
    border: 1px solid $metaBlue01;

    &:hover {
        color: $metaBlue02;
        background-color: transparent;
        border: 1px solid $metaBlue02;
    }

    &:active {
        color: $metaBlue01;
        background-color: transparent;
        border: 1px solid $metaBlue01;
    }

    &:focus {
        color: $metaBlue01;
        background-color: transparent;
        border: 1px solid $metaBlue01;
    }

    &:active:active {
        color: $metaBlue01;
        background-color: transparent;
        border: 1px solid $metaBlue01;
    }
}

.btn-meta-gray-reverse {
    color: $metaGray04;
    background-color: transparent;
    border: 1px solid $metaGray04;

    &:hover {
        color: $metaGray04;
        border: 1px solid $metaGray04;
    }

    &:active {
        color: $metaGray04;
        border: 1px solid $metaGray04;
    }

    &:focus {
        color: $metaGray04;
        border: 1px solid $metaGray04;
    }

    &:active:active {
        color: $metaGray04;
        border: 1px solid $metaGray04;
    }
}

.btn-meta-white-reverse {
    color: white;
    background-color: transparent;
    border: 1px solid white;
}

.error-tips {
    color: #d9534f;
    padding-left: 15px;
}

.error-input {
    border-color: #a94442;

    &:focus {
        border-color: #843534;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
    }
}

.input-section {
    margin-bottom: 20px;

    .title {
        margin-right: 25px;
        font-size: $fontSizeXS;
        color: $gray-9;
        display: inline-block;
        width: 65px;
    }

    input {
        display: inline-block;
        width: 40%;
        max-width: 350px;
        min-width: 200px;
        height: 32px;
    }

    .checkbox-inline input {
        height: auto;
    }

    .right-form {
        display: inline-block;
    }
}

.meta-form {
    .form-title {
        text-align: center;
        font-weight: bold;
    }
    .form-step {
        margin: 50px 110px;
        list-style: none;
        border-bottom: 1px solid $gray-d;
        padding-left: 0;

        li {
            float: left;
            text-align: center;
            font-size: $fontSizeM;
            padding-bottom: 10px;
            border-bottom: 5px solid white;

            &:first-child {
                padding-left: 10px;
                text-align: left;
            }

            &:nth-child(3) {
                padding-right: 10px;
                text-align: right;
            }

            img {
                width: 18px;
                margin-left: 10px;
            }
        }

        .active {
            color: $dodger-blue;
            font-weight: bold;
            border-bottom: 5px solid $dodger-blue;
        }
    }
    .form-detail {
        margin: 50px 110px;

        .success {
            margin-bottom: 200px;

            .successHeader {
                text-align: center;

                img {
                    display: inline-block;
                    width: 30px;
                    height: 35px;
                    margin-right: 10px;
                }

                h2 {
                    display: inline-block;
                    margin: 0;
                    position: relative;
                    top: 8px;
                }
            }

            .successBody {
                margin: 30px auto;

                p {
                    text-align: center;
                    font-size: $fontSizeS;
                    margin-bottom: 5px;
                }
            }

            .successFoot {
                text-align: center;
            }
        }
    }
    .form-input-section {
        position: relative;
        margin-bottom: 10px;
        clear: left;

        .input-title {
            float: left;
            padding: 0 20px 0 0;
            line-height: 32px;
            font-size: $fontSizeXS;
            color: $gray-9;
            text-align: right;
        }

        .input-control {
            overflow: hidden;
            margin-right: 100px;
            height: 32px;

            input {
                height: 32px;
            }

            input[type="checkbox"], input[type="radio"] {
                height: auto;
            }

            input[type="radio"] {
                margin-left: -22px;
                margin-right: 7px;
            }

            input[type="number"] {
                padding: 5px 10px;
            }

            .checkbox-inline {
                width: 90px;
            }

            .sm {
                width: 100px;
                display: inline-block;
            }
        }

        .input-control-lg {
            overflow: hidden;
            margin-right: 100px;
            height: 100px;

            textarea {
                height: 90px;
                resize: none;
            }
        }

        .input-error {
            position: absolute;
            width: 100px;
            right: 0px;
            top: 6px;
        }

        .checkbox-part {
            padding-left: 3px;
            height: 32px;
            padding-top: 5px;
        }
    }
    .submit-part {
        padding-right: 100px;

        .submit-container-single {
            width: 100px;
            display: block;
            margin: 0 auto;
        }

        .submit-container-double {
            width: 215px;
            display: block;
            margin: 0 auto;

            > button {
                margin-right: 5px;
            }
        }
    }
}
